package com.hsteach.web.controller.activity.sdk.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsteach.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "ListActivitiesSdkVo", description = "查询前五条活动信息")
@Data
public class ListActivitiesSdkVo implements Serializable {

    /** 标题 */
    @ApiModelProperty(value = "活动id", required = true)
    private String title;

    /** 活动内容 */
    @ApiModelProperty(value = "活动id", required = true)
    private String context;

    /** 名额 */
    @ApiModelProperty(value = "活动id", required = true)
    private Long enrollTotal;

    /** 报名人数 */
    @ApiModelProperty(value = "活动id", required = true)
    private Long enrollNum;

    /** 报名开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "活动id", required = true)
    private Date enrollBegin;

    /** 报名结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "活动id", required = true)
    private Date enrollEnd;

    @ApiModelProperty(value = "当前状态 1未开始，2报名中，3已结束", required = true)
    private Integer curStatus;

    @ApiModelProperty(value = "报名状态 1已报名，0未报名", required = true)
    private Integer enrollFlg;

}
